package com.tofacebook.spring.jdbc.model;

import com.sun.tracing.dtrace.ArgsAttributes;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.apache.ibatis.annotations.Insert;

/**
 * 用户信息实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class User {

    /**
     * 声明一些属性，因为属性有setter和getter
     * 成员变量，没有setter和getter
     */
    private Integer userId;
    private String username;
    private Integer balance; //余额

}
